package com.sanpu.kxe.business.login.contract;

import com.sanpu.kxe.base.IBaseExtraView;
import com.sanpu.kxe.base.IBasePresenter;

/**
 * Description：修改登录手机号
 * Created by 薛勇军 on 2019/3/22.
 */

public interface ModifyAccountContract {

    interface View extends IBaseExtraView<Presenter> {
        /**
         * 根据状态改变验证码验证的显示状态
         * @param status
         */
        void changeByStatus(boolean status);

        /**
         * 读秒
         */
        void byoyomi(Long aLong);
    }

    interface Presenter extends IBasePresenter {

        /**
         * 提交修改信息
         */
        void updateAccount(String newAccount, String checkCode, String name, String identityNumber, String password);

        /**
         * 发送验证码
         */
        void onSendCode(String phoneNumber);
    }
}
